﻿using Syspetro.Core.DbAccessor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BJ.AuthEntity.Models
{
    /// <summary>
    /// 角色
    /// </summary>
    public class AdminRole : EntityBase
    {
        /// <summary>
        /// 角色名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 是否是管理员
        /// </summary>
        public bool IsAdmin { get; set; }
        /// <summary>
        /// 权限等级
        /// </summary>
        public int Level { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        public List<AdminUser> Users { get; set; }
    }
}
